<layout name="layout"/>
<include file="Public:angular"/>
	
<p><a href="__CONTROLLER__/index" class="uk-button uk-button-default">{$Think.lang.back}</a>
</p>
	
<form   id="validate_form" class="uk-form" enctype="multipart/form-data" method="post" action="__CONTROLLER__/addHandle">
<table class="uk-table">
<tr><td width=150>{$Think.lang.news_title}</td><td><input type="text" name="news_title" required /></td></tr>
<tr><td>{$Think.lang.news_type}</td><td>
<select name="news_type" required>
<option value="">--</option>
<volist name=":explode(',',$web_config['web_news_type'])" id="vo">
<option value="{$vo}">{$vo}</option>
</volist>
</select>
<small class="uk-text-muted">{$Think.lang.news_notice}</small>
</td></tr>
<tr><td>{$Think.lang.lang}</td><td>
<select name="news_lang" required>
<option value="">--</option>
<volist name=":explode(',',$web_config['web_lang'])" id="vo">
<option <eq name="vo" value="$news_lang">selected</eq> value="{$vo}">{$vo}</option>
</volist>
</select>
<small class="uk-text-muted">{$Think.lang.lang_tip}</small>
</td></tr>
<tr><td>{$Think.lang.desc}</td><td><textarea style="height:120px;" name="news_desc"  ></textarea></td></tr>
<tr><td>{$Think.lang.sort}</td><td><input type="text" name="news_sort" value="10" isIntGtZero='true' required />
</td></tr>
<tr><td>{$Think.lang.source}</td><td><input type="text" name="news_source"  />
</td></tr>
<tr><td>{$Think.lang.keywords}</td><td><input type="text" name="news_keyword"   />
</td></tr>
<tr><td>{$Think.lang.news_hit}</td><td><input type="text" name="news_hit" isIntGtZero='true'  />
</td></tr>
<tr><td>{$Think.lang.content}</td><td> 
<script id="container" name="news_content" style="height:230px;width:100%;" type="text/plain"></script></td></tr>
<tr><td>{$Think.lang.tpl}</td><td><input type="text" name="news_tpl"  /></td></tr>
<tr><td>{$Think.lang.img}</td><td>
<label><input type="checkbox" name="isupload" ng-model="isupload"/>是否上传图片</label>
<input type="file" name="news_img"  ng-disabled="!isupload" /></td></tr>
<tr><td>{$Think.lang.status}</td><td>
	<label><input type="radio" name="news_status" value="1" checked required /> {$Think.lang.yes}</label>
	<label><input type="radio" name="news_status" value="0" /> {$Think.lang.no}</label>
</td></tr>
<tr><td>--</td><td>
<button class="uk-button uk-button-danger" type="submit">{$Think.lang.save}</button>
</td></tr>
</table>
</form>	
	
<!--引入ueditor-->
<include file="Public:ueditor"/>
